package com.zdft.promotion.common.constant;

public class StateConstant {

    /**
     * 删除标识
     * 0：未激活 1：已激活
     */
    public static final int NO_ACTIVATE = 0;
    public static final int ACTIVATED = 1;

    /**
     * 删除标识
     * 0：未删除 1：已删除
     */
    public static final int NO_DELETE = 0;
    public static final int DELETED = 1;

    /**
     * 移入目标类型
     * 1: 客户(销售) 2：仓库(仓库间调拨)
     */
    public static final int TRANSFERS_TYPE_CUSTOMER = 1;
    public static final int TRANSFERS_TYPE_WARE = 2;

    /**
     * 仓库类型
     * 1：门店 2：DC
     */
    public static final int WARE_REPOSITORYS_REPO_SYSTEM_STORE = 1;
    public static final int WARE_REPOSITORYS_REPO_SYSTEM_DC = 2;

    /**
     * 来源
     * 5：调拨越库
     */
    public static final int TRANSFERS_ORIGIN_TRANSFERS = 5;

    /**
     * 订单类型
     * 0=调拨/移仓，1=门店退货 2=总部订单 3=周期性补货
     */
    public static final int TRANSFERS_ORDER_TYPE_TRANSFER = 0;
    public static final int TRANSFERS_ORDER_TYPE_STORE = 1;
    public static final int TRANSFERS_ORDER_TYPE_HEADQUARTERS = 2;
    public static final int TRANSFER_ORDER_ZQBH = 3;

    /**
     * 订单标识
     * 1、移仓 2、调拨 3、调拨越库 4、快速移仓
     */
    public static final int TRANSFERS_ORDER_FLAG_SHIFTING = 1;
    public static final int TRANSFERS_ORDER_FLAG_TRANSFER = 2;
    public static final int TRANSFERS_ORDER_FLAG_TRANSFER_YUEKU = 3;
    public static final int TRANSFERS_ORDER_FLAG_FAST_SHIFTING = 4;

    /**
     * 出库类型
     * 2: 仓库间调拨 3: 门店退货
     */
    public static final int DELIVERY_TYPE_TRANSFER = 2;
    public static final int DELIVERY_TYPE_STORE_RETURN = 3;

    /**
     * 出库状态
     * 0:新建，1，生效，3已排工，待拣货，4完成，5待集货，6待复核，7复核完毕但有差异
     */
    public static final int DELIVERY_STATUS_NEW = 0;
    public static final int DELIVERY_STATUS_EFFECTIVE = 1;
    public static final int DELIVERY_STATUS_WAIT_PICK = 3;
    public static final int DELIVERY_STATUS_COMPLETE = 4;
    public static final int DELIVERY_STATUS_WAIT_COLLECT_GOOD = 5;
    public static final int DELIVERY_STATUS_WAIT_REVIEW = 6;
    public static final int DELIVERY_STATUS_COMPLETE_DIFF = 7;

    /**
     * 越库状态
     * 1=新建；2=移出仓储发货；3=移出仓储发货完成；4=中转仓储入库完成；5=目的客户发货完成；6=目的仓库入库完成
     */
    public static final int TRANSFERS_ACROSS_STATUS_NEW = 1;
    public static final int TRANSFERS_ACROSS_STATUS_DELIVERY = 2;
    public static final int TRANSFERS_ACROSS_STATUS_DELIVERY_COMPLETED = 3;
    public static final int TRANSFERS_ACROSS_STATUS_TRANSFER_WARE_STORAGE_COMPLETED = 4;
    public static final int TRANSFERS_ACROSS_STATUS_DEST_CUSTOMER_DELIVERY_COMPLETED = 5;
    public static final int TRANSFERS_ACROSS_STATUS_DEST_WARE_STORAGE_COMPLETED = 6;

    /**
     * 收货状态
     * 0=未收货 1=收货中 2 收货结束
     */
    public static final int TRANSFERS_ACCEPT_STATUS_UN_RECEIVED = 0;
    public static final int TRANSFERS_ACCEPT_STATUS_RECEIVING = 1;
    public static final int TRANSFERS_ACCEPT_STATUS_RECEIVED = 2;
    //出库单状态 质检确认
    public static final int RECEIPTS_ZJQR=2;

    //中转
    public static final int ZZ_STATUS=1;
    //非中转
    public static final int COMMON_STATUS=0;


    /**
     * 审批结果
     * 1: 审核通过 2：审核不通过 3：退回重填
     */
    public static final int APPROVAL_RESULTS_PASS = 1;
    public static final int APPROVAL_RESULTS_FAIL = 2;
    public static final int APPROVAL_RESULTS_BACK = 3;

    /**
     * 1仓库 2库区 3货架 4货层 5货格
     */
    public static final int CELLTYPE_WARE_REPO = 1;
    public static final int CELLTYPE_WARE_AREA = 2;
    public static final int CELLTYPE_WARE_SHELF = 3;
    public static final int CELLTYPE_WARE_FLOOR = 4;
    public static final int CELLTYPE_WARE_CARGO = 5;

    /**
     * 推送状态
     * 待处理
     */
    public static final int ASYN_PUSH_STATUS_NEW = 0;
    /**
     * 推送状态
     * 处理成功
     */
    public static final int ASYN_PUSH_STATUS_SUCCESS = 1;
    /**
     * 推送状态
     * 处理失败
     */
    public static final int ASYN_PUSH_STATUS_FAIL = 2;
    /**
     * 推送状态
     * 无需处理
     */
    public static final int ASYN_PUSH_STATUS_NO_PROCESS = 3;

    public static final String REDIS_REPO = "REDIS_REPO";
}
